﻿using System.Collections.Generic;
using Rated.Website.Exceptions;
using Rated.DAL.Repository;
using Rated.DAL.Db;
using Rated.Website.Helpers;

namespace Rated.Website.Models
{
    public class ProfileViewModel
    {
        public List<RatedItem> Items { get; private set; }

        public ProfileViewModel()
        {
            throw new EIncorrectConstructor("Incorrect Constructor");
        }

        public ProfileViewModel(int memberId)
        {
            Items = RatedItemRepository.GetAll(memberId);
            var up = UserHelper.UserProfile;
        }
    }
}